package com.weixing.mall.provider.model.vo.report.customer;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.provider.model.enums.AdvertsingEunm;
import com.weixing.mall.provider.model.enums.IsPageSiteEunm;
import com.weixing.mall.provider.support.excel.EnumConverter.PageSiteConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author jzy
 * @date 2020/6/13
 */
@Data
@ApiModel(value="CustomerAdvertisementDetailVo", description="客服部-广告详情")
public class CustomerAdvertisementDetailVo {
    @ApiModelProperty(value = "广告Id")
    @ExcelIgnore
    private Long id;
    @ApiModelProperty(value = "分类(平台分类)")
    @ExcelProperty("分类")
    private String mediaName;
    @ApiModelProperty(value = "广告平台")
    @ExcelProperty("广告平台")
    private String plateformName;
    @ApiModelProperty(value = "平台号（公众号）")
    @ExcelProperty("公众号")
    private String chatNum;
    @ApiModelProperty(value = "广告专员")
    @ExcelProperty("广告专员")
    private String directorName;
    @ApiModelProperty(value = "预约者（代理名称）")
    @ExcelProperty("代理名称")
    private String orderedAgent;
    @ApiModelProperty(value = "版面位置")
    @ExcelProperty(value = "版面位置",converter = PageSiteConverter.class)
    private IsPageSiteEunm pageSite;
    @ApiModelProperty(value = "标价（费用）")
    @ExcelProperty("费用")
    private BigDecimal price;
    @ApiModelProperty(value = "付款时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("付款时间")
    private Date payTime;
    @ApiModelProperty(value = "投放日期")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("投放日期")
    private Date launchDate;
    @ApiModelProperty(value = "预约截止日期（推送时间）")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("推送时间")
    private Date endOrderDate;
    @ApiModelProperty(value = "广告标题")
    @ExcelProperty("广告标题")
    private String articleTitle;
    @ApiModelProperty(value = "阅读量")
    @ExcelProperty("阅读量")
    private Integer readAmount;
    @ApiModelProperty(value = "粉丝获得数量")
    @ExcelProperty("粉丝获得数量")
    private Integer fans;
    @ApiModelProperty(value = "性价比")
    @ExcelProperty("性价比")
    private String performanceRatio;
    @ApiModelProperty(value = "已排版(广告状态)")
    @ExcelIgnore
    private AdvertsingEunm staus;
}
